/*
 *  ACM Timus Online
 *  White Thesis - Problem 1335
 */

#include <stdio.h>

long N;


int main()
{
	scanf("%ld", &N);
	printf("%ld %ld %ld\n", N * N + N, N * N + 2 * N, N * N);

	return 0;
}
